#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
template <typename T>
void Swap(  T& a, T& b)
{
	T tmp = a;
	a = b;
	b = tmp;
}
void main()
{
	int a = 1;
	double b = 2.0;
	Swap<double>(a, b);
}